package com.buptlogistics.creditinvestigation.fragment;

import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.EditText;

import com.buptlogistics.creditinvestigation.R;
import com.buptlogistics.creditinvestigation.app.BaseFragment;

/**
 * 包名：com.buptlogistics.creditinvestigation.fragment
 * 类描述：借款
 * 创建人：fuxuemingzhu
 * 邮箱：fuxuemingzhu@163.com
 * 创建时间：2015/12/30 11:03
 * <p/>
 * 修改人：fuxuemingzhu
 * 修改时间：2015/12/30 11:03
 * 修改备注：
 *
 * @version 1.0
 */
public class OrderNoticeFragment extends BaseFragment {

    private View view;


    private EditText et_order_number, et_order_notice_buyer, et_order_notice_address,
            et_order_notice_telephone, et_order_notice_latest_time,
            et_order_notice_description, et_order_notice_goods_num,
            et_order_notice_quantity;
    private Button btn_order_notice_increase, btn_order_notice_ok;

    public OrderNoticeFragment() {
        // Required empty public constructor
    }


    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container,
                             Bundle savedInstanceState) {
        // Inflate the layout for this fragment
        view = inflater.inflate(R.layout.fragment_order_notice, container, false);
        initViews();
        initEvents();
        return view;
    }

    protected void initViews() {
        et_order_number = (EditText) findViewById(R.id.et_order_number);
        et_order_notice_address = (EditText) findViewById(R.id.et_order_notice_address);
        et_order_notice_buyer = (EditText) findViewById(R.id.et_order_notice_buyer);
        et_order_notice_telephone = (EditText) findViewById(R.id.et_order_notice_telephone);
        et_order_notice_latest_time = (EditText) findViewById(R.id.et_order_notice_latest_time);
        et_order_notice_description = (EditText) findViewById(R.id.et_order_notice_description);
        et_order_notice_goods_num = (EditText) findViewById(R.id.et_order_notice_goods_num);
        et_order_notice_quantity = (EditText) findViewById(R.id.et_order_notice_quantity);
        btn_order_notice_increase = (Button) findViewById(R.id.btn_order_notice_increase);
        btn_order_notice_ok = (Button) findViewById(R.id.btn_order_notice_ok);

    }

    protected void initEvents() {

    }

    protected View findViewById(int id) {
        return view.findViewById(id);
    }

}
